package conson.tech.manage.app.entity.mobile.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * ClassName: IconVo
 * Description: TODO
 * Author: HXL
 * Date: 2020/6/9 8:51 上午
 * Version: 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
public class IconVo implements Serializable {
    private static final long serialVersionUID = 5486020088805958611L;
    @ApiModelProperty(value = "链接主键")
    private Long iconId;

    @ApiModelProperty(value = "链接名称")
    private String appName;

    @ApiModelProperty(value = "链接标识id")
    private String appId;

    @ApiModelProperty(value = "链接显示图片地址")
    private String appIconUrl;

    @ApiModelProperty(value = "ios跳转原生路径")
    private String iosGoPage;

    @ApiModelProperty(value = "安卓跳转原生路径")
    private String androidGoPage;

    @ApiModelProperty(value = "跳转方式为H5时，H5跳转地址；跳转方式为后台时，为后台地址")
    private String appStartUrl;

    @ApiModelProperty(value = "是否需要登录标识 0-否 1-是")
    private Integer login;

    @ApiModelProperty(value = "跳转方式 1-原生 2-H5 3-小程序 4-跳转后台获取新url")
    private Integer appType;

    @ApiModelProperty(value = "当icon为组类别icon（例如西海岸等）时，跳转所需的groupId")
    private Long groupInfoId;

    @ApiModelProperty(value = "是否需要授权，2-实人，1-实名 0-否")
    private Integer authorize;

    @ApiModelProperty(value = "不可编辑，1-是 0-否，当标记为1时，固定显示在主页面")
    private Integer uneditable;

    @ApiModelProperty(value = "是否有导航栏，1-有 0-无")
    private Integer addToolbar;

}
